package myMath;
/**
 * 角度函数
 * @author zybw-kf01 2018-5-7 14:47:57
 *
 */
public class AnglesDemo1 {

	public static void main(String[] args) {
		double cos = Math.cos(-30);
		
		System.out.println(cos);
		System.out.println("sin 0 == " +Math.sin(0));
		System.out.println("sin x == " +Math.sin(Math.PI));
		System.out.println("sin 90 == " +Math.sin(90/180*Math.PI));
		System.out.println("Math.PI / 180==  "+(Math.PI / 180));
	}
}
